﻿using System;
using System.Collections.Generic;
using System.Data.SQLite;
using System.Text;
using com.lover.astd.common.model;
using com.lover.dbcommon;

namespace com.lover.astd.server
{
    public class AccountLoader
    {
        private string _dbFilename = "";
        public List<AccountData> loadAccounts()
        {
            List<AccountData> accounts = new List<AccountData>();
            SqliteHelper helper = SqliteHelper.getInstance(_dbFilename);
            SQLiteDataReader reader = helper.exeReader("select * from account");
            int account_id = reader.GetInt32(0);
            return accounts;
        }
    }
}
